package com.gdut.huayan.service.exception;

import lombok.Getter;

@Getter
public class BaseException extends RuntimeException {

    private final Integer code;

    private final String userMessage;

    public BaseException(Integer code, String userMessage) {
        super("Custom Exception, Not System Runtime Exception");
        this.code = code;
        this.userMessage = userMessage;
    }
}